# -*- coding: utf-8 -*-

from apps.sys.models import LoginLog
from core.serializers import CustomModelSerializer


class LoginLogSerializer(CustomModelSerializer):
    """
    登录日志权限-序列化器
    """

    class Meta:
        model = LoginLog
        fields = "__all__"
        read_only_fields = ["id"]
